package com.yoga.entity;

import java.util.ArrayList;
import java.util.List;

public class YogaCoachExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public YogaCoachExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUidIsNull() {
            addCriterion("`uid` is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("`uid` is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(String value) {
            addCriterion("`uid` =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(String value) {
            addCriterion("`uid` <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(String value) {
            addCriterion("`uid` >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(String value) {
            addCriterion("`uid` >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(String value) {
            addCriterion("`uid` <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(String value) {
            addCriterion("`uid` <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLike(String value) {
            addCriterion("`uid` like", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotLike(String value) {
            addCriterion("`uid` not like", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<String> values) {
            addCriterion("`uid` in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<String> values) {
            addCriterion("`uid` not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(String value1, String value2) {
            addCriterion("`uid` between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(String value1, String value2) {
            addCriterion("`uid` not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andIsreveiveIsNull() {
            addCriterion("isreveive is null");
            return (Criteria) this;
        }

        public Criteria andIsreveiveIsNotNull() {
            addCriterion("isreveive is not null");
            return (Criteria) this;
        }

        public Criteria andIsreveiveEqualTo(Integer value) {
            addCriterion("isreveive =", value, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveNotEqualTo(Integer value) {
            addCriterion("isreveive <>", value, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveGreaterThan(Integer value) {
            addCriterion("isreveive >", value, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("isreveive >=", value, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveLessThan(Integer value) {
            addCriterion("isreveive <", value, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveLessThanOrEqualTo(Integer value) {
            addCriterion("isreveive <=", value, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveIn(List<Integer> values) {
            addCriterion("isreveive in", values, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveNotIn(List<Integer> values) {
            addCriterion("isreveive not in", values, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveBetween(Integer value1, Integer value2) {
            addCriterion("isreveive between", value1, value2, "isreveive");
            return (Criteria) this;
        }

        public Criteria andIsreveiveNotBetween(Integer value1, Integer value2) {
            addCriterion("isreveive not between", value1, value2, "isreveive");
            return (Criteria) this;
        }

        public Criteria andClassmoneyIsNull() {
            addCriterion("classmoney is null");
            return (Criteria) this;
        }

        public Criteria andClassmoneyIsNotNull() {
            addCriterion("classmoney is not null");
            return (Criteria) this;
        }

        public Criteria andClassmoneyEqualTo(Integer value) {
            addCriterion("classmoney =", value, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyNotEqualTo(Integer value) {
            addCriterion("classmoney <>", value, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyGreaterThan(Integer value) {
            addCriterion("classmoney >", value, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("classmoney >=", value, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyLessThan(Integer value) {
            addCriterion("classmoney <", value, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyLessThanOrEqualTo(Integer value) {
            addCriterion("classmoney <=", value, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyIn(List<Integer> values) {
            addCriterion("classmoney in", values, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyNotIn(List<Integer> values) {
            addCriterion("classmoney not in", values, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyBetween(Integer value1, Integer value2) {
            addCriterion("classmoney between", value1, value2, "classmoney");
            return (Criteria) this;
        }

        public Criteria andClassmoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("classmoney not between", value1, value2, "classmoney");
            return (Criteria) this;
        }

        public Criteria andIsprivateIsNull() {
            addCriterion("isprivate is null");
            return (Criteria) this;
        }

        public Criteria andIsprivateIsNotNull() {
            addCriterion("isprivate is not null");
            return (Criteria) this;
        }

        public Criteria andIsprivateEqualTo(Integer value) {
            addCriterion("isprivate =", value, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateNotEqualTo(Integer value) {
            addCriterion("isprivate <>", value, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateGreaterThan(Integer value) {
            addCriterion("isprivate >", value, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateGreaterThanOrEqualTo(Integer value) {
            addCriterion("isprivate >=", value, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateLessThan(Integer value) {
            addCriterion("isprivate <", value, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateLessThanOrEqualTo(Integer value) {
            addCriterion("isprivate <=", value, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateIn(List<Integer> values) {
            addCriterion("isprivate in", values, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateNotIn(List<Integer> values) {
            addCriterion("isprivate not in", values, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateBetween(Integer value1, Integer value2) {
            addCriterion("isprivate between", value1, value2, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsprivateNotBetween(Integer value1, Integer value2) {
            addCriterion("isprivate not between", value1, value2, "isprivate");
            return (Criteria) this;
        }

        public Criteria andIsvenueIsNull() {
            addCriterion("isvenue is null");
            return (Criteria) this;
        }

        public Criteria andIsvenueIsNotNull() {
            addCriterion("isvenue is not null");
            return (Criteria) this;
        }

        public Criteria andIsvenueEqualTo(Integer value) {
            addCriterion("isvenue =", value, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueNotEqualTo(Integer value) {
            addCriterion("isvenue <>", value, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueGreaterThan(Integer value) {
            addCriterion("isvenue >", value, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueGreaterThanOrEqualTo(Integer value) {
            addCriterion("isvenue >=", value, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueLessThan(Integer value) {
            addCriterion("isvenue <", value, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueLessThanOrEqualTo(Integer value) {
            addCriterion("isvenue <=", value, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueIn(List<Integer> values) {
            addCriterion("isvenue in", values, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueNotIn(List<Integer> values) {
            addCriterion("isvenue not in", values, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueBetween(Integer value1, Integer value2) {
            addCriterion("isvenue between", value1, value2, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsvenueNotBetween(Integer value1, Integer value2) {
            addCriterion("isvenue not between", value1, value2, "isvenue");
            return (Criteria) this;
        }

        public Criteria andIsofficialIsNull() {
            addCriterion("isofficial is null");
            return (Criteria) this;
        }

        public Criteria andIsofficialIsNotNull() {
            addCriterion("isofficial is not null");
            return (Criteria) this;
        }

        public Criteria andIsofficialEqualTo(Integer value) {
            addCriterion("isofficial =", value, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialNotEqualTo(Integer value) {
            addCriterion("isofficial <>", value, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialGreaterThan(Integer value) {
            addCriterion("isofficial >", value, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialGreaterThanOrEqualTo(Integer value) {
            addCriterion("isofficial >=", value, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialLessThan(Integer value) {
            addCriterion("isofficial <", value, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialLessThanOrEqualTo(Integer value) {
            addCriterion("isofficial <=", value, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialIn(List<Integer> values) {
            addCriterion("isofficial in", values, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialNotIn(List<Integer> values) {
            addCriterion("isofficial not in", values, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialBetween(Integer value1, Integer value2) {
            addCriterion("isofficial between", value1, value2, "isofficial");
            return (Criteria) this;
        }

        public Criteria andIsofficialNotBetween(Integer value1, Integer value2) {
            addCriterion("isofficial not between", value1, value2, "isofficial");
            return (Criteria) this;
        }

        public Criteria andPositiveIsNull() {
            addCriterion("positive is null");
            return (Criteria) this;
        }

        public Criteria andPositiveIsNotNull() {
            addCriterion("positive is not null");
            return (Criteria) this;
        }

        public Criteria andPositiveEqualTo(Integer value) {
            addCriterion("positive =", value, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveNotEqualTo(Integer value) {
            addCriterion("positive <>", value, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveGreaterThan(Integer value) {
            addCriterion("positive >", value, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("positive >=", value, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveLessThan(Integer value) {
            addCriterion("positive <", value, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveLessThanOrEqualTo(Integer value) {
            addCriterion("positive <=", value, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveIn(List<Integer> values) {
            addCriterion("positive in", values, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveNotIn(List<Integer> values) {
            addCriterion("positive not in", values, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveBetween(Integer value1, Integer value2) {
            addCriterion("positive between", value1, value2, "positive");
            return (Criteria) this;
        }

        public Criteria andPositiveNotBetween(Integer value1, Integer value2) {
            addCriterion("positive not between", value1, value2, "positive");
            return (Criteria) this;
        }

        public Criteria andStandby1IsNull() {
            addCriterion("standby1 is null");
            return (Criteria) this;
        }

        public Criteria andStandby1IsNotNull() {
            addCriterion("standby1 is not null");
            return (Criteria) this;
        }

        public Criteria andStandby1EqualTo(Integer value) {
            addCriterion("standby1 =", value, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1NotEqualTo(Integer value) {
            addCriterion("standby1 <>", value, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1GreaterThan(Integer value) {
            addCriterion("standby1 >", value, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1GreaterThanOrEqualTo(Integer value) {
            addCriterion("standby1 >=", value, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1LessThan(Integer value) {
            addCriterion("standby1 <", value, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1LessThanOrEqualTo(Integer value) {
            addCriterion("standby1 <=", value, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1In(List<Integer> values) {
            addCriterion("standby1 in", values, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1NotIn(List<Integer> values) {
            addCriterion("standby1 not in", values, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1Between(Integer value1, Integer value2) {
            addCriterion("standby1 between", value1, value2, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby1NotBetween(Integer value1, Integer value2) {
            addCriterion("standby1 not between", value1, value2, "standby1");
            return (Criteria) this;
        }

        public Criteria andStandby2IsNull() {
            addCriterion("standby2 is null");
            return (Criteria) this;
        }

        public Criteria andStandby2IsNotNull() {
            addCriterion("standby2 is not null");
            return (Criteria) this;
        }

        public Criteria andStandby2EqualTo(Boolean value) {
            addCriterion("standby2 =", value, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2NotEqualTo(Boolean value) {
            addCriterion("standby2 <>", value, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2GreaterThan(Boolean value) {
            addCriterion("standby2 >", value, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2GreaterThanOrEqualTo(Boolean value) {
            addCriterion("standby2 >=", value, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2LessThan(Boolean value) {
            addCriterion("standby2 <", value, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2LessThanOrEqualTo(Boolean value) {
            addCriterion("standby2 <=", value, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2In(List<Boolean> values) {
            addCriterion("standby2 in", values, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2NotIn(List<Boolean> values) {
            addCriterion("standby2 not in", values, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2Between(Boolean value1, Boolean value2) {
            addCriterion("standby2 between", value1, value2, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby2NotBetween(Boolean value1, Boolean value2) {
            addCriterion("standby2 not between", value1, value2, "standby2");
            return (Criteria) this;
        }

        public Criteria andStandby3IsNull() {
            addCriterion("standby3 is null");
            return (Criteria) this;
        }

        public Criteria andStandby3IsNotNull() {
            addCriterion("standby3 is not null");
            return (Criteria) this;
        }

        public Criteria andStandby3EqualTo(String value) {
            addCriterion("standby3 =", value, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3NotEqualTo(String value) {
            addCriterion("standby3 <>", value, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3GreaterThan(String value) {
            addCriterion("standby3 >", value, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3GreaterThanOrEqualTo(String value) {
            addCriterion("standby3 >=", value, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3LessThan(String value) {
            addCriterion("standby3 <", value, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3LessThanOrEqualTo(String value) {
            addCriterion("standby3 <=", value, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3Like(String value) {
            addCriterion("standby3 like", value, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3NotLike(String value) {
            addCriterion("standby3 not like", value, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3In(List<String> values) {
            addCriterion("standby3 in", values, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3NotIn(List<String> values) {
            addCriterion("standby3 not in", values, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3Between(String value1, String value2) {
            addCriterion("standby3 between", value1, value2, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby3NotBetween(String value1, String value2) {
            addCriterion("standby3 not between", value1, value2, "standby3");
            return (Criteria) this;
        }

        public Criteria andStandby4IsNull() {
            addCriterion("standby4 is null");
            return (Criteria) this;
        }

        public Criteria andStandby4IsNotNull() {
            addCriterion("standby4 is not null");
            return (Criteria) this;
        }

        public Criteria andStandby4EqualTo(String value) {
            addCriterion("standby4 =", value, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4NotEqualTo(String value) {
            addCriterion("standby4 <>", value, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4GreaterThan(String value) {
            addCriterion("standby4 >", value, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4GreaterThanOrEqualTo(String value) {
            addCriterion("standby4 >=", value, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4LessThan(String value) {
            addCriterion("standby4 <", value, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4LessThanOrEqualTo(String value) {
            addCriterion("standby4 <=", value, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4Like(String value) {
            addCriterion("standby4 like", value, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4NotLike(String value) {
            addCriterion("standby4 not like", value, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4In(List<String> values) {
            addCriterion("standby4 in", values, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4NotIn(List<String> values) {
            addCriterion("standby4 not in", values, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4Between(String value1, String value2) {
            addCriterion("standby4 between", value1, value2, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby4NotBetween(String value1, String value2) {
            addCriterion("standby4 not between", value1, value2, "standby4");
            return (Criteria) this;
        }

        public Criteria andStandby5IsNull() {
            addCriterion("standby5 is null");
            return (Criteria) this;
        }

        public Criteria andStandby5IsNotNull() {
            addCriterion("standby5 is not null");
            return (Criteria) this;
        }

        public Criteria andStandby5EqualTo(Boolean value) {
            addCriterion("standby5 =", value, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5NotEqualTo(Boolean value) {
            addCriterion("standby5 <>", value, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5GreaterThan(Boolean value) {
            addCriterion("standby5 >", value, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5GreaterThanOrEqualTo(Boolean value) {
            addCriterion("standby5 >=", value, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5LessThan(Boolean value) {
            addCriterion("standby5 <", value, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5LessThanOrEqualTo(Boolean value) {
            addCriterion("standby5 <=", value, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5In(List<Boolean> values) {
            addCriterion("standby5 in", values, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5NotIn(List<Boolean> values) {
            addCriterion("standby5 not in", values, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5Between(Boolean value1, Boolean value2) {
            addCriterion("standby5 between", value1, value2, "standby5");
            return (Criteria) this;
        }

        public Criteria andStandby5NotBetween(Boolean value1, Boolean value2) {
            addCriterion("standby5 not between", value1, value2, "standby5");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}